#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable:6031)
#include <stdio.h>

int main()
{
	char arr[5] = { 'a','b','c','d','e'};
	char str[5] = { 'f','g','h','i','j' };
	for (int i = 0; i < 5; i++)
	{
		char temp = arr[i];
		arr[i] = str[i];
		str[i] = temp;
		printf("%c", arr[i]);
	}
	printf("\n");
	for (int i = 0; i < 5; i++)
	{
		printf("%c", str[i]);
	}
	return 0;
}